package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP用户故事墙点赞业务对象 app_story_like
 *
 * @author heike
 * @date 2025-03-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppStoryLikeBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 故事ID
     */
    @NotNull(message = "故事ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long storyId;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 类型(1=点赞)
     */
    @NotBlank(message = "类型(1=点赞)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;


}
